import sys
import os
import shutil

rela_dir = "luaFiles"
all_files = os.listdir(rela_dir)

all_excel = []
for _o in all_files:
        print(_o)
	if not _o.endswith(".lua"):
		continue
	if _o.startswith("~"):
		continue
	src = rela_dir + '/' + _o
	print(src)
	shutil.copy( src ,'..//..//server//config')
